package ru.susu.algebra.chartable.constructor;

import java.math.BigInteger;

import ru.susu.algebra.chartable.IPermutationsGroupCharTable;
import ru.susu.algebra.chartable.PermGroupMapBasedCharTable;
import ru.susu.algebra.partition.Partition;

/**
 * @author akargapolov
 * @since: 03.03.2009
 */
public class SymmetricGroupMapTableConstructor extends SymmetricGroupTableConstructorBase
{
	private static final SymmetricGroupMapTableConstructor _instance = new SymmetricGroupMapTableConstructor();

	private SymmetricGroupMapTableConstructor()
	{
	}

	@Override
	protected IPermutationsGroupCharTable<BigInteger> createTable(Partition p)
	{
		return new PermGroupMapBasedCharTable<BigInteger>();
	}

	public static SymmetricGroupMapTableConstructor getInstance()
	{
		return _instance;
	}

}
